/*
 * @Author: 悦者生存 1002783067@qq.com
 * @Date: 2023-11-04 19:46:57
 * @LastEditors: 悦者生存 1002783067@qq.com
 * @LastEditTime: 2023-11-04 19:49:04
 * @FilePath: /client/src/utils/router.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { history } from 'umi';

export const toLogin = () => {
  history.push('/login');
};

export const toHome = () => {
  history.push('/home');
};
